<template>
  <div>
    <!-- 顶部轮播 -->
    <div class="boxname">
      <!-- 首页 -->
      <div class="one">
        <span class="prev" style="display: block;">
          <i class="flaticon-back">左</i>
        </span>
        <div class="slick-list">
          <div class="slick-track" style="opacity: 1; width: 2526px;">
            <div
              class="banner-area"
              style="
                width: 1263px;
                position: relative;
                left: 0px;
                top: 0px;
                z-index: 998;
                opacity: 1;
                transition: opacity 500ms ease 0s;
              "
              data-slick-index="0"
              aria-hidden="true"
              tabindex="-1"
            >
              <div class="container">
                <div class="row justify-content-center">
                  <div class="col-lg-8">
                    <div class="banner-content text-center">
                      <div
                        class="box1"
                        data-animation="fadeInDown"
                        data-delay="0.5s"
                        style="animation-delay: 0.5s;"
                      ></div>
                      <br />
                      <span
                        data-animation="fadeInLeft"
                        data-delay="0.6s"
                        class=""
                        style="animation-delay: 0.6s;"
                      >
                        Raising Money Has Never Been So Easy
                      </span>
                      <h3
                        data-animation="fadeInRightBig"
                        data-delay="0.7s"
                        class="title"
                        style="animation-delay: 0.7s;"
                      >
                        Crowdfunding Platforms
                      </h3>
                      <a
                        data-animation="zoomIn"
                        data-delay="0.8s"
                        class="main-btn"
                        href="#"
                        tabindex="-1"
                        style="animation-delay: 0.8s;"
                      >
                        Start a Project
                      </a>
                    </div>
                  </div>
                </div>
              </div>
              <div
                class="banner-line"
                data-animation="fadeInRightBig"
                data-delay="2s"
                style="animation-delay: 2s;"
              >
                <img src="./img/banner-line.png" alt="" />
              </div>
            </div>
          </div>
        </div>
        <span class="next" style="display: block;">
          <i class="flaticon-next">右</i>
        </span>
      </div>
    </div>
    <!-- 探索 -->
    <div class="brand-box">
      <div class="brand flex">
        <div class="brand-lf">
          <h3 class="title">Clients we have worked with</h3>
          <p></p>
        </div>
        <ul class="brand-rt">
          <li>
            <img src="../../../assets/groupimg/brand.png" alt="" />
          </li>
          <li>
            <img src="../../../assets/groupimg/brand.png" alt="" />
          </li>
          <li>
            <img src="../../../assets/groupimg/brand.png" alt="" />
          </li>
          <li>
            <img src="../../../assets/groupimg/brand.png" alt="" />
          </li>
          <li>
            <img src="../../../assets/groupimg/brand.png" alt="" />
          </li>
        </ul>
      </div>
    </div>
    <!-- clients -->
    <section class="testimonials-area">
      <div class="container">
        <div class="row">
          <div class="col-lg-6">
            <div class="section-title">
              <span>Our Testimonials</span>
              <h3>What They Say</h3>
            </div>
          </div>
        </div>
        <div class="row2">
          <div class="col-lg-12">
            <div class="slick-slider">
              <span class="prev">左</span>
              <div class="slick-list draggable">
                <div class="slick-track">
                  <div class="slick-active">
                    <div class="row">
                      <div class="col-lg-7">
                        <div class="testimonials-content">
                          <h4>Mike Hardson</h4>
                          <p>
                            There are many variations of available, but the
                            majority have sufferd in some form by injected or
                            randomised words which don't look even believable.
                            If you are to lorem ipsum is simply going to use a
                            passage.
                          </p>
                        </div>
                      </div>
                      <div class="col-lg-5">
                        <div class="text-right">
                          <img src="../../../assets/1.jpg" alt="" />
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <span class="next">右</span>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- 搜索 -->
    <div class="home">
      <div class="news">
        <div class="cont-r">
          <div class="con-top">
            <div class="top-cen">
              <div class="text-center">
                <span>All From the Blog</span>
                <h3 class="title">News &amp; Articles</h3>
              </div>
            </div>
          </div>
          <div class="flex-con">
            <div class="lie-con" v-for="item in listl" :key="item.id">
              <div class="zhu">
                <div class="news-thumb">
                  <img :src="item.mysrc" alt="" />
                </div>
                <div class="news-con">
                  <span>{{ item.time }}</span>
                  <ul>
                    <li>
                      Admin
                    </li>
                    <li>
                      2 Comments
                    </li>
                  </ul>
                  <h3 class="title">
                    A day in the life of entrepreneur &amp; co-founders
                  </h3>
                  <a href="single-news.html">--></a>
                </div>
              </div>
            </div>
            <div class="lie-con" v-for="item in listy" :key="item.id">
              <div class="zhu zhu1">
                <div class="news-con">
                  <span>{{ item.time }}</span>
                  <ul>
                    <li>
                      Admin
                    </li>
                    <li>
                      2 Comments
                    </li>
                  </ul>
                  <h3 class="title">
                    A day in the life of entrepreneur &amp; co-founders
                  </h3>
                  <a href="single-news.html">--></a>
                </div>
                <div class="news-thumb">
                  <img :src="item.mysrc" alt="" />
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="main">
      <div class="content">
        <span>Get Our Complete</span>
        <h3 class="title">Crowdfunding Guide</h3>
        <form action="#">
          <div class="input-box flex">
            <input type="text" placeholder="Email address" />
            <button class="main-btn main-btn-2">Signup now</button>
            <!-- <p></p> -->
          </div>
        </form>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      listl: [
        {
          id: 1,
          mysrc: require('../imge/news-1.jpg'),
          time: '3 April, 2020',
          ren: ' Admin ',
          shu: ' 2 Comments',
          content: 'A day in the life of entrepreneur & co-founders',
        },
        {
          id: 2,
          mysrc: require('../imge/news-2.jpg'),
          time: '3 April, 2020',
          ren: ' Admin ',
          shu: ' 2 Comments',
          content: 'A day in the life of entrepreneur & co-founders',
        },
      ],
      listy: [
        {
          id: 3,
          mysrc: require('../imge/news-3.jpg'),
          time: '3 April, 2020',
          ren: ' Admin ',
          shu: ' 2 Comments',
          content: 'A day in the life of entrepreneur & co-founders',
        },
        {
          id: 4,
          mysrc: require('../imge/news-4.jpg'),
          time: '3 April, 2020',
          ren: ' Admin ',
          shu: ' 2 Comments',
          content: 'A day in the life of entrepreneur & co-founders',
        },
      ],
    }
  },
}
</script>

<style lang="scss">
* {
  margin: 0;
  padding: 0;
}
.flex {
  display: flex;
}
.news {
  padding-top: 112px;
  padding-bottom: 120px;
  .cont-r {
    width: 1200px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    .con-top {
      justify-content: center !important;
      display: flex;
      flex-wrap: wrap;
      margin-right: -15px;
      margin-left: -15px;
      .top-cen {
        flex: 0 0 50%;
        max-width: 50%;
        .text-center {
          padding-bottom: 32px;
          text-align: center !important;
          span {
            font-size: 18px;
            color: #674df0;
            text-transform: capitalize;
            padding-left: 16px;
            position: relative;
          }
          span:before {
            position: absolute;
            content: '';
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 6px;
            width: 6px;
            background: #29f0b4;
          }
          h3 {
            font-size: 60px;
            font-weight: 400;
            padding-top: 6px;
          }
        }
      }
    }
    .flex-con {
      display: flex;
      flex-wrap: wrap;
      margin-right: 0;
      margin-left: 0;
      .lie-con {
        flex: 0 0 50%;
        max-width: 50%;
        .zhu {
          margin-top: 30px;
          display: flex;
          height: 344px;
          .news-thumb {
            img {
              width: 100%;
            }
          }
          .news-con {
            background: #f7f7f9;
            width: 214px;
            height: 294px;
            padding: 50px 44px 0px 50px;
            span {
              line-height: 30px;
              color: #fff;
              background: #674df0;
              padding: 0 15px;
              font-size: 11px;
              font-weight: 500;
              letter-spacing: 2px;
              text-transform: uppercase;
              margin-bottom: 13px;
              text-align: left;
              display: inline-block;
            }
            ul {
              margin: 0px;
              padding: 0px;
              list-style-type: none;
              li {
                display: inline-block;
                font-size: 14px;
                color: #838694;
                padding: 0 5px;
              }
            }
            .title {
              font-size: 24px;
              line-height: 36px;
              padding-top: 24px;
              padding-bottom: 35px;
              transition: all 0.3s ease-out 0s;
              cursor: pointer;
            }
            .title:hover {
              color: #674df0;
            }
            a {
              display: inline-block;
              text-decoration: none;
              height: 59px;
              width: 59px;
              text-align: center;
              line-height: 59px;
              background: #fff;
              color: #a4a6b1;
              transition: all 0.3s ease-out 0s;
            }
            a:hover {
              background: #29f0b4;
              color: #1b1f2e;
            }
          }
        }
        .zhu1 {
          margin-top: 0;
        }
      }
    }
  }
}
.testimonials-area {
  padding-top: 112px;
  padding-bottom: 120px;
  .container {
    max-width: 1200px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    .row {
      justify-content: center !important;
      display: flex;
      flex-wrap: wrap;
      margin-right: -15px;
      margin-left: -15px;
      .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        .section-title {
          padding-bottom: 62px;
          text-align: center !important;
          span {
            font-size: 18px;
            color: #674df0;
            text-transform: capitalize;
            padding-left: 16px;
            position: relative;
            display: inline-block;
            &::before {
              position: absolute;
              content: '';
              left: 0px;
              top: 50%;
              transform: translateY(-50%);
              height: 6px;
              width: 6px;
              background: #29f0b4;
            }
          }
          h3 {
            font-size: 60px;
            font-weight: 400;
            padding-top: 6px;
            color: #1b1f2e;
            margin: 0px;
          }
        }
      }
    }
    .row2 {
      display: flex;
      flex-wrap: wrap;
      margin-right: -15px;
      margin-left: -15px;
      height: 442px;
      .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        .slick-slider {
          position: relative;
          display: block;
          box-sizing: border-box;
          user-select: none;
          touch-action: pan-y;
          .prev {
            display: block;
            position: absolute;
            left: 115px;
            bottom: 0;
            z-index: 9999;
            height: 80px;
            width: 80px;
            background: white;
            text-align: center;
            line-height: 80px;
            color: #838694;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease-out 0s;
            &:before {
              position: absolute;
              content: '';
              right: 0;
              top: 0;
              height: 13px;
              width: 13px;
              background: #29f0b4;
              opacity: 1;
              transition: all 0.3s ease-out 0s;
            }
          }
          .slick-list {
            position: relative;
            display: block;
            overflow: hidden;
            margin: 0;
            padding: 0;
            .slick-track {
              opacity: 1;
              width: 2340px;
              position: relative;
              top: 0;
              left: 0;
              display: block;
              margin-left: auto;
              margin-right: auto;
              .slick-active {
                width: 1060px;
                position: relative;
                left: 0px;
                top: 0px;
                z-index: 999;
                opacity: 1;
                background: #f7f7f9;
                padding: 54px 30px 30px 60px;
                margin-left: 55px;
                margin-right: 55px;
                margin-top: 30px;
                float: left;
                // height: 442px;
                height: 100%;
                min-height: 1px;
                &:before {
                  position: absolute;
                  content: '';
                  left: 0;
                  top: 0;
                  height: 100%;
                  width: 5px;
                  background: #29f0b4;
                }
                .row {
                  display: flex;
                  flex-wrap: wrap;
                  margin-right: -15px;
                  margin-left: -15px;
                  .col-lg-7 {
                    flex: 0 0 58.333333%;
                    max-width: 52%;
                    position: relative;
                    width: 100%;
                    padding-right: 15px;
                    padding-left: 15px;
                    .testimonials-content {
                      h4 {
                        font-size: 26px;
                        color: #674df0;
                        padding-bottom: 33px;
                      }
                      p {
                        font-size: 20px;
                        line-height: 40px;
                        padding-right: 0px;
                        margin-right: -5px;
                        color: #838694;
                        font-weight: 400;
                        margin: 0px;
                      }
                    }
                  }
                  .col-lg-5 {
                    flex: 0 0 41.666667%;
                    max-width: 45.666667%;
                    position: relative;
                    width: 100%;
                    padding-right: 15px;
                    padding-left: 15px;
                    .text-right {
                      margin-top: -85px;
                      position: relative;
                      display: flex;
                      justify-content: flex-end;
                      text-align: right !important;
                      img {
                        width: 100%;
                        max-width: 360px;
                        display: block;
                        border-style: none;
                      }
                    }
                  }
                }
              }
            }
          }
          .next {
            display: block;
            left: 205px;
            position: absolute;
            bottom: 0;
            z-index: 9999;
            height: 80px;
            width: 80px;
            background: white;
            text-align: center;
            line-height: 80px;
            color: #838694;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease-out 0s;
            &:before {
              position: absolute;
              content: '';
              right: 0;
              top: 0;
              height: 13px;
              width: 13px;
              background: #29f0b4;
              opacity: 1;
              transition: all 0.3s ease-out 0s;
            }
          }
        }
      }
    }
  }
}
.main {
  width: 100%;
  height: 470px;
  padding: 1px;
  background-image: url('../../../assets/groupimg/guide-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  .content {
    width: 769px;
    height: 238px;
    margin: 80px auto;
    span {
      display: block;
      color: #222;
      font-size: 18px;
      text-transform: capitalize;
      padding-left: 16px;
      position: relative;
      text-align: center;
    }
    h3 {
      font-size: 60px;
      font-weight: 400;
      padding-top: 6px;
      font-weight: 400;
      color: #1b1f2e;
      text-align: center;
      font-family: 'Abril Fatface', cursive;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
        'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
      font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
        'Courier New', monospace;
    }
    .input-box {
      width: 689px;
      height: 74px;
      margin: 50px auto;
      justify-content: space-between;
      position: relative;
      input {
        width: 454px;
        height: 74px;
        margin-right: 20px;
        border: 0;
        line-height: 74px;
        padding-left: 40px;
        color: #838694;
      }
      button {
        width: 210px;
        height: 74px;
        background-color: #1b1f2e;
        color: #fff;
        border: none;
      }
      p {
        width: 17px;
        height: 17px;
        background: #fff;
        position: absolute;
        content: '';
        right: 0;
        top: 0;
        z-index: 30;
      }
      button:hover {
        background-color: #fff;
        color: #1b1f2e;
        transition: all 0.3s ease-out 0s;
      }
    }
  }
}
.brand-box {
  width: 100%;
  height: 268px;
  .brand {
    width: 1200px;
    height: 268px;
    margin: 0 auto;
    justify-content: space-between;
    .brand-lf {
      width: 369px;
      height: 268px;
      background: #674df0;
      position: relative;
      h3 {
        width: 219px;
        height: 128px;
        margin-left: 70px;
        margin-top: 50px;
        font-size: 36px;
        color: #fff;
        font-family: 'Abril Fatface', cursive;
        font-weight: 400;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
          'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
        font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
          'Courier New', monospace;
      }
      p {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        height: 44px;
        width: 44px;
        background: #29f0b4;
      }
    }
    .brand-rt {
      width: 799px;
      height: 110px;
      li {
        width: 230px;
        height: 25px;
        float: left;
        margin-top: 60px;
        margin-left: 20px;
        cursor: pointer;
        img {
          opacity: 0.2;
          transition: all 0.3s ease-out 0s;
        }
        img:hover {
          opacity: 1;
          transition: all 0.3s ease-out 0s;
        }
      }
    }
  }
}
.boxname {
  height: 895px;
  position: relative;
  & > div.one {
    width: 100%;
    height: 100%;
    position: relative;
    & > span {
      position: absolute;
      bottom: 0;
      z-index: 912;
      height: 80px;
      width: 80px;
      background: rgba(255, 255, 255, 0.7);
      text-align: center;
      line-height: 80px;
      color: #838694;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.3s ease-out 0s;
      &:hover {
        background: #fff;
      }
    }
    .prev {
      left: calc((100% - 1170px) / 2);
    }
    .next {
      left: calc((100% - 980px) / 2);
    }
    .slick-list {
      position: relative;
      display: block;
      overflow: hidden;
      height: 100%;
      margin-left: 160px;
      padding: 0;
      .slick-track {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        .banner-area {
          height: 785px;
          position: relative;
          z-index: 10;
          background-image: url('./img/banner-bg-1.jpg');
          background-position: center center;
          background-size: cover;
          background-repeat: no-repeat;
          display: flex !important;
          align-items: center !important;
          .container {
            margin-top: 40px;
            padding-right: 15px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
            width: 1200px;
            height: 100%;
            .justify-content-center {
              display: flex;
              flex-wrap: wrap;
              margin-right: -15px;
              margin-left: -15px;
              height: 100%;
              align-items: center;
              justify-content: center !important;
              .col-lg-8 {
                position: relative;
                width: 100%;
                height: 422px;
                padding-right: 15px;
                padding-left: 15px;
                flex: 0 0 66.666667%;
                max-width: 66.666667%;
                .text-center {
                  height: 100%;
                  text-align: center !important;
                  height: 100%;
                  .box1 {
                    &::before {
                      position: absolute;
                      content: '';
                      right: 0;
                      top: 0;
                      height: 17px;
                      width: 17px;
                      background: #29f0b4;
                    }
                    height: 46px;
                    width: 46px;
                    background: #674df0;
                    display: inline-block;
                    position: relative;
                    margin-bottom: 15px;
                  }
                  span {
                    font-size: 20px;
                    font-weight: 500;
                    color: #fff;
                    position: relative;
                    margin-bottom: 32px;
                    &::before {
                      position: absolute;
                      content: '';
                      left: 0;
                      bottom: -4px;
                      width: 100%;
                      height: 1px;
                      background: rgba(255, 255, 255, 0.3);
                    }
                  }
                  .title {
                    font-size: 90px;
                    line-height: 90px;
                    color: #fff;
                    font-weight: 400;
                    padding-bottom: 39px;
                  }
                  .main-btn {
                    display: inline-block;
                    font-weight: 500;
                    text-align: center;
                    white-space: nowrap;
                    vertical-align: middle;
                    user-select: none;
                    border: 0px;
                    padding: 0 50px;
                    font-size: 14px;
                    text-transform: uppercase;
                    letter-spacing: 3px;
                    line-height: 74px;
                    border-radius: 0px;
                    color: #1b1f2e;
                    cursor: pointer;
                    z-index: 5;
                    transition: all 0.4s ease-out 0s;
                    background-color: #29f0b4;
                    position: relative;
                    &::before {
                      position: absolute;
                      content: '';
                      right: 0;
                      top: 0;
                      height: 17px;
                      width: 17px;
                      background: #1b1f2e;
                      transition: all 0.3s ease-out 0s;
                      z-index: -1;
                    }
                    &:hover::before {
                      width: 100%;
                      height: 100%;
                    }
                    &:hover {
                      background-color: #1b1f2e;
                      color: #fff;
                    }
                  }
                }
              }
            }
          }
          .banner-line {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: -1;
          }
        }
      }
    }
  }
}
</style>
